import request from "@/utils/request";

const DASHBOARD_BASE_URL = "/api";

const dashboardAPI = {
  getSupplierDashboard(type: number) {
    return request<any>({
      url: `${DASHBOARD_BASE_URL}/dashboard/${type}/supplier/`,
      method: "get",
      headers: {
        "Content-Type": "multipart/form-data",
      },
    });
  },
}

export default  dashboardAPI
